package com.example.testanimation.javabean;

public class User {
    private String name;
    private String password;
    private String studentName;
    private int id;
    private String className;

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", password='" + password + '\'' +
                ", studentName='" + studentName + '\'' +
                ", id='" + id + '\'' +
                ", className='" + className + '\'' +
                '}';
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public int  getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public User(String name, String password, String studentName,  String className) {
        this.name = name;
        this.password = password;
        this.studentName = studentName;
        this.className = className;
    }


    public User() {
    }

    public User(String name, String password) {
        this.name = name;
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
